package kwic;

	public class ShiftFilter extends Filter
	{
	  public void putData(Object o)
	  {
	    Line l = (Line) o;
	    if(l != null)
	    {
	      for(int i = 0; i < l.getWords().size() - 1; i++)
	      {
	        super.putData(l);
	        l = l.shift();
	      }
	    }
	    super.putData(l);
	  }
	
	}
